package com.hzit.loan.pay.mapper;

import com.hzit.loan.pay.model.MchInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface MchInfoMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(MchInfo record);

    int insertSelective(MchInfo record);

    MchInfo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(MchInfo record);

    int updateByPrimaryKey(MchInfo record);

    /**
     * 根据商户号查询商户信息
     * @param mchId
     * @return
     */
    MchInfo queryMchInfoByMchId(@Param("mchId") String mchId);
}